package com.zhang.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: xinguan-parent
 * @description: 阿里云OOS
 * @author: Mr.Zhang
 * @create: 2022-03-11 15:16
 **/
@ConfigurationProperties(prefix = "alioss")
@Component
@Data
public class OSSEntity {
    // 所在地域对应的Endpoint。以华东1（杭州）为例，Endpoint填写为https://oss-cn-hangzhou.aliyuncs.com。
    private String endpoint;
    // KeyId
    private String accessKeyId;
    //Secret
    private String accessKeySecret;
    //Bucket 名称s
    private String bucketName;

    }
